package ship.entity;

public class stafftable {
    private int sno;
	private String snm;
    private String sjob;
    private String sworkyears ;
    private String ssalary ;
    private String sadrs ;
    
    public stafftable() {
    	super();
    	
    }
    public stafftable(int sno,String snm) {
    	super();
    	this.sno = sno;
		this.snm = snm;
    }
    public stafftable(int sno,String snm, String sjob, String sworkyears, String ssalary, String sadrs) {
		super();
		this.sno = sno;
		this.snm = snm;
		this.sjob = sjob;
		this.sworkyears = sworkyears;
		this.ssalary = ssalary;
		this.sadrs = sadrs;
	}
	public int getSno() {
		return sno;
	}
	public void setSno(int sno) {
		this.sno = sno;
	}
	public String getSnm() {
		return snm;
	}
	public void setSnm(String snm) {
		this.snm = snm;
	}
	public String getSjob() {
		return sjob;
	}
	public void setSjob(String sjob) {
		this.sjob = sjob;
	}
	public String getSworkyears() {
		return sworkyears;
	}
	public void setSworkyears(String sworkyears) {
		this.sworkyears = sworkyears;
	}
	public String getSsalary() {
		return ssalary;
	}
	public void setSsalary(String ssalary) {
		this.ssalary = ssalary;
	}
	public String getSadrs() {
		return sadrs;
	}
	public void setSadrs(String sadrs) {
		this.sadrs = sadrs;
	}
    public String toString() {
    	return this.getSno()+"-"+this.getSnm()+"-"+this.getSjob()+"-"+this.getSworkyears()+"-"+this.getSsalary()+"-"+this.getSadrs();
    }
}
